<%@ page contentType="application/json;charset=UTF-8" language="java"%>  
<%  
Exception ex = (Exception)request.getAttribute("ex");
	 
%> 
{"error":"<%=ex.getClass().getSimpleName()%>"}
 